package com.javasm.annotation;

import com.javasm.domain.AuthenConstant;

import java.lang.annotation.*;

/**
 * @Author：MoDebing
 * @Version：1.0
 * @Date：2022-09-01-23:52
 * @Description:
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Permission{
    AuthenConstant[] authentication() default AuthenConstant.NORMAL;
}
